 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import { resolve } from 'path'

 export default defineConfig({
   plugins: [vue()],
   base: './',
   root: resolve(__dirname, 'src/renderer'),
   build: {
     outDir: resolve(__dirname, 'dist/renderer'),
     emptyOutDir: true
   },
   server: {
     port: 5173
   },
   resolve: {
     alias: {
       '@': resolve(__dirname, 'src/renderer')
     }
   }
 })
